package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.NumberAutoConvert;
import com.guaike.core.entity.annotation.StripTrailingZeros;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("充值活动实体")
@Data
public class RechargeActivityVO implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品属性(1:上新，2：普通，3：热门)")
    private Integer productAttr;

    @ApiModelProperty("金额")
    @StripTrailingZeros
    private BigDecimal money;

    @ApiModelProperty("松果数量")
    @NumberAutoConvert
    private Integer pinecone;

    @ApiModelProperty("产品图片")
    private String image;
}
